package ooday02;

public class Test {
    public static void main(String[] args) {

        Dog dd = new Dog("豆豆",3,"黄色");
        dd.eat();
        dd.drink();
        dd.lookHome();
        System.out.println("-----------------------------");

        Fish fish = new Fish("泡泡",4,"金色");
        fish.eat();
        System.out.println("-----------------------------");

        Chick chick = new Chick("蔡徐坤",24,"黑白");
        chick.eat();
        chick.layEggs();
    }
}
